<?php

/**
 * GamePassiveSkill filter form base class.
 *
 * @package    aiontoolskit
 * @subpackage filter
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormFilterGeneratedTemplate.php 29570 2010-05-21 14:49:47Z Kris.Wallsmith $
 */
abstract class BaseGamePassiveSkillFormFilter extends BaseFormFilterDoctrine
{
  public function setup()
  {
    $this->setWidgets(array(
      'name'               => new sfWidgetFormFilterInput(),
      'type'               => new sfWidgetFormChoice(array('choices' => array('' => '', 'Magical' => 'Magical', 'Physical' => 'Physical'))),
      'skillicon_name'     => new sfWidgetFormFilterInput(),
      'effect1_type'       => new sfWidgetFormChoice(array('choices' => array('' => '', 'Activate_Enslave' => 'Activate_Enslave', 'AlwaysBlock' => 'AlwaysBlock', 'AlwaysDodge' => 'AlwaysDodge', 'AlwaysParry' => 'AlwaysParry', 'AlwaysResist' => 'AlwaysResist', 'Amr_Mastery' => 'Amr_Mastery', 'Aura' => 'Aura', 'BackDashATK' => 'BackDashATK', 'Bind' => 'Bind', 'Bleed' => 'Bleed', 'Blind' => 'Blind', 'BoostDropRate' => 'BoostDropRate', 'BoostHate' => 'BoostHate', 'BoostHealEffect' => 'BoostHealEffect', 'BoostSkillCastingTime' => 'BoostSkillCastingTime', 'BoostSkillCost' => 'BoostSkillCost', 'BoostSpellAttackEffect' => 'BoostSpellAttackEffect', 'Cannon' => 'Cannon', 'CarveSignet' => 'CarveSignet', 'ChangeHateOnAttacked' => 'ChangeHateOnAttacked', 'CloseAerial' => 'CloseAerial', 'CondSkillLauncher' => 'CondSkillLauncher', 'Confuse' => 'Confuse', 'ConvertHeal' => 'ConvertHeal', 'Curse' => 'Curse', 'DPHeal' => 'DPHeal', 'DPHeal_Instant' => 'DPHeal_Instant', 'DPTransfer' => 'DPTransfer', 'DashATK' => 'DashATK', 'DeBoostHealAmount' => 'DeBoostHealAmount', 'DeathBlow' => 'DeathBlow', 'DeboostHealAmount' => 'DeboostHealAmount', 'Deform' => 'Deform', 'DelayedFPATK_Instant' => 'DelayedFPATK_Instant', 'DelayedSpellATK_Instant' => 'DelayedSpellATK_Instant', 'Disease' => 'Disease', 'Dispel' => 'Dispel', 'DispelBuff' => 'DispelBuff', 'DispelBuffCounterATK' => 'DispelBuffCounterATK', 'DispelDeBuff' => 'DispelDeBuff', 'DispelDebuff' => 'DispelDebuff', 'DispelDebuffMental' => 'DispelDebuffMental', 'DispelDebuffPhysical' => 'DispelDebuffPhysical', 'DispelNPCDebuff' => 'DispelNPCDebuff', 'DispelNpcBuff' => 'DispelNpcBuff', 'Dummy' => 'Dummy', 'ExtendAuraRange' => 'ExtendAuraRange', 'FPATK' => 'FPATK', 'FPATK_Instant' => 'FPATK_Instant', 'FPHeal' => 'FPHeal', 'FPHeal_Instant' => 'FPHeal_Instant', 'Fall' => 'Fall', 'Fear' => 'Fear', 'FpHeal' => 'FpHeal', 'Heal' => 'Heal', 'HealCastorOnAttacked' => 'HealCastorOnAttacked', 'HealCastorOnTargetDead' => 'HealCastorOnTargetDead', 'Heal_Instant' => 'Heal_Instant', 'Hide' => 'Hide', 'HostileUp' => 'HostileUp', 'InvulnerableWing' => 'InvulnerableWing', 'MPAttack' => 'MPAttack', 'MPAttack_Instant' => 'MPAttack_Instant', 'MPHeal' => 'MPHeal', 'MPHeal_Instant' => 'MPHeal_Instant', 'MagicCounterATK' => 'MagicCounterATK', 'MoveBehindATK' => 'MoveBehindATK', 'NoFly' => 'NoFly', 'OneTimeBoostSkillAttack' => 'OneTimeBoostSkillAttack', 'OneTimeBoostSkillCritical' => 'OneTimeBoostSkillCritical', 'OpenAerial' => 'OpenAerial', 'Paralyze' => 'Paralyze', 'PetOrderUseUltraSkill' => 'PetOrderUseUltraSkill', 'Petrification' => 'Petrification', 'Poison' => 'Poison', 'Polymorph' => 'Polymorph', 'ProcATK_Instant' => 'ProcATK_Instant', 'ProcDPHeal_Instant' => 'ProcDPHeal_Instant', 'ProcFpHeal_Instant' => 'ProcFpHeal_Instant', 'ProcHeal_Instant' => 'ProcHeal_Instant', 'ProcMPHeal_Instant' => 'ProcMPHeal_Instant', 'Protect' => 'Protect', 'Provoker' => 'Provoker', 'Pulled' => 'Pulled', 'RandomMoveLoc' => 'RandomMoveLoc', 'Rebirth' => 'Rebirth', 'Recall_Instant' => 'Recall_Instant', 'Reflector' => 'Reflector', 'Resurrect' => 'Resurrect', 'ResurrectBase' => 'ResurrectBase', 'ResurrectPositional' => 'ResurrectPositional', 'ReturnHome' => 'ReturnHome', 'ReturnPoint' => 'ReturnPoint', 'Root' => 'Root', 'Sanctuary' => 'Sanctuary', 'Search' => 'Search', 'ShapeChange' => 'ShapeChange', 'Shield' => 'Shield', 'ShieldMastery' => 'ShieldMastery', 'Signet' => 'Signet', 'SignetBurst' => 'SignetBurst', 'Silence' => 'Silence', 'Simple_Root' => 'Simple_Root', 'SkillATKDrain_Instant' => 'SkillATKDrain_Instant', 'SkillATK_Instant' => 'SkillATK_Instant', 'SkillLauncher' => 'SkillLauncher', 'Sleep' => 'Sleep', 'Slow' => 'Slow', 'Snare' => 'Snare', 'SpellATK' => 'SpellATK', 'SpellATKDrain' => 'SpellATKDrain', 'SpellATKDrain_Instant' => 'SpellATKDrain_Instant', 'SpellATK_Instant' => 'SpellATK_Instant', 'Spin' => 'Spin', 'Stagger' => 'Stagger', 'StatBoost' => 'StatBoost', 'StatDown' => 'StatDown', 'StatUp' => 'StatUp', 'Stumble' => 'Stumble', 'Stun' => 'Stun', 'SubTypeBoostResist' => 'SubTypeBoostResist', 'SubTypeExtendDuration' => 'SubTypeExtendDuration', 'Summon' => 'Summon', 'SummonBindingGroupGate' => 'SummonBindingGroupGate', 'SummonGroupGate' => 'SummonGroupGate', 'SummonHoming' => 'SummonHoming', 'SummonServant' => 'SummonServant', 'SummonSkillArea' => 'SummonSkillArea', 'SummonTrap' => 'SummonTrap', 'SwitchHPMP_Instant' => 'SwitchHPMP_Instant', 'SwitchHostile' => 'SwitchHostile', 'WeaponStatBoost' => 'WeaponStatBoost', 'WeaponStatUp' => 'WeaponStatUp', 'Wpn_Dual' => 'Wpn_Dual', 'Wpn_Mastery' => 'Wpn_Mastery', 'XPBoost' => 'XPBoost', 'deform' => 'deform', 'nofly' => 'nofly'))),
      'effect1_basiclv'    => new sfWidgetFormFilterInput(),
      'effect1_reserved1'  => new sfWidgetFormFilterInput(),
      'effect1_reserved2'  => new sfWidgetFormFilterInput(),
      'effect1_reserved3'  => new sfWidgetFormFilterInput(),
      'effect1_reserved4'  => new sfWidgetFormFilterInput(),
      'effect1_reserved5'  => new sfWidgetFormFilterInput(),
      'effect1_reserved6'  => new sfWidgetFormFilterInput(),
      'effect1_reserved7'  => new sfWidgetFormFilterInput(),
      'effect1_reserved8'  => new sfWidgetFormFilterInput(),
      'effect1_reserved9'  => new sfWidgetFormFilterInput(),
      'effect1_reserved13' => new sfWidgetFormFilterInput(),
      'effect1_reserved10' => new sfWidgetFormFilterInput(),
      'effect2_type'       => new sfWidgetFormChoice(array('choices' => array('' => '', 'Activate_Enslave' => 'Activate_Enslave', 'AlwaysBlock' => 'AlwaysBlock', 'AlwaysDodge' => 'AlwaysDodge', 'AlwaysParry' => 'AlwaysParry', 'AlwaysResist' => 'AlwaysResist', 'Amr_Mastery' => 'Amr_Mastery', 'Aura' => 'Aura', 'BackDashATK' => 'BackDashATK', 'Bind' => 'Bind', 'Bleed' => 'Bleed', 'Blind' => 'Blind', 'BoostDropRate' => 'BoostDropRate', 'BoostHate' => 'BoostHate', 'BoostHealEffect' => 'BoostHealEffect', 'BoostSkillCastingTime' => 'BoostSkillCastingTime', 'BoostSkillCost' => 'BoostSkillCost', 'BoostSpellAttackEffect' => 'BoostSpellAttackEffect', 'Cannon' => 'Cannon', 'CarveSignet' => 'CarveSignet', 'ChangeHateOnAttacked' => 'ChangeHateOnAttacked', 'CloseAerial' => 'CloseAerial', 'CondSkillLauncher' => 'CondSkillLauncher', 'Confuse' => 'Confuse', 'ConvertHeal' => 'ConvertHeal', 'Curse' => 'Curse', 'DPHeal' => 'DPHeal', 'DPHeal_Instant' => 'DPHeal_Instant', 'DPTransfer' => 'DPTransfer', 'DashATK' => 'DashATK', 'DeBoostHealAmount' => 'DeBoostHealAmount', 'DeathBlow' => 'DeathBlow', 'DeboostHealAmount' => 'DeboostHealAmount', 'Deform' => 'Deform', 'DelayedFPATK_Instant' => 'DelayedFPATK_Instant', 'DelayedSpellATK_Instant' => 'DelayedSpellATK_Instant', 'Disease' => 'Disease', 'Dispel' => 'Dispel', 'DispelBuff' => 'DispelBuff', 'DispelBuffCounterATK' => 'DispelBuffCounterATK', 'DispelDeBuff' => 'DispelDeBuff', 'DispelDebuff' => 'DispelDebuff', 'DispelDebuffMental' => 'DispelDebuffMental', 'DispelDebuffPhysical' => 'DispelDebuffPhysical', 'DispelNPCDebuff' => 'DispelNPCDebuff', 'DispelNpcBuff' => 'DispelNpcBuff', 'Dummy' => 'Dummy', 'ExtendAuraRange' => 'ExtendAuraRange', 'FPATK' => 'FPATK', 'FPATK_Instant' => 'FPATK_Instant', 'FPHeal' => 'FPHeal', 'FPHeal_Instant' => 'FPHeal_Instant', 'Fall' => 'Fall', 'Fear' => 'Fear', 'FpHeal' => 'FpHeal', 'Heal' => 'Heal', 'HealCastorOnAttacked' => 'HealCastorOnAttacked', 'HealCastorOnTargetDead' => 'HealCastorOnTargetDead', 'Heal_Instant' => 'Heal_Instant', 'Hide' => 'Hide', 'HostileUp' => 'HostileUp', 'InvulnerableWing' => 'InvulnerableWing', 'MPAttack' => 'MPAttack', 'MPAttack_Instant' => 'MPAttack_Instant', 'MPHeal' => 'MPHeal', 'MPHeal_Instant' => 'MPHeal_Instant', 'MagicCounterATK' => 'MagicCounterATK', 'MoveBehindATK' => 'MoveBehindATK', 'NoFly' => 'NoFly', 'OneTimeBoostSkillAttack' => 'OneTimeBoostSkillAttack', 'OneTimeBoostSkillCritical' => 'OneTimeBoostSkillCritical', 'OpenAerial' => 'OpenAerial', 'Paralyze' => 'Paralyze', 'PetOrderUseUltraSkill' => 'PetOrderUseUltraSkill', 'Petrification' => 'Petrification', 'Poison' => 'Poison', 'Polymorph' => 'Polymorph', 'ProcATK_Instant' => 'ProcATK_Instant', 'ProcDPHeal_Instant' => 'ProcDPHeal_Instant', 'ProcFpHeal_Instant' => 'ProcFpHeal_Instant', 'ProcHeal_Instant' => 'ProcHeal_Instant', 'ProcMPHeal_Instant' => 'ProcMPHeal_Instant', 'Protect' => 'Protect', 'Provoker' => 'Provoker', 'Pulled' => 'Pulled', 'RandomMoveLoc' => 'RandomMoveLoc', 'Rebirth' => 'Rebirth', 'Recall_Instant' => 'Recall_Instant', 'Reflector' => 'Reflector', 'Resurrect' => 'Resurrect', 'ResurrectBase' => 'ResurrectBase', 'ResurrectPositional' => 'ResurrectPositional', 'ReturnHome' => 'ReturnHome', 'ReturnPoint' => 'ReturnPoint', 'Root' => 'Root', 'Sanctuary' => 'Sanctuary', 'Search' => 'Search', 'ShapeChange' => 'ShapeChange', 'Shield' => 'Shield', 'ShieldMastery' => 'ShieldMastery', 'Signet' => 'Signet', 'SignetBurst' => 'SignetBurst', 'Silence' => 'Silence', 'Simple_Root' => 'Simple_Root', 'SkillATKDrain_Instant' => 'SkillATKDrain_Instant', 'SkillATK_Instant' => 'SkillATK_Instant', 'SkillLauncher' => 'SkillLauncher', 'Sleep' => 'Sleep', 'Slow' => 'Slow', 'Snare' => 'Snare', 'SpellATK' => 'SpellATK', 'SpellATKDrain' => 'SpellATKDrain', 'SpellATKDrain_Instant' => 'SpellATKDrain_Instant', 'SpellATK_Instant' => 'SpellATK_Instant', 'Spin' => 'Spin', 'Stagger' => 'Stagger', 'StatBoost' => 'StatBoost', 'StatDown' => 'StatDown', 'StatUp' => 'StatUp', 'Stumble' => 'Stumble', 'Stun' => 'Stun', 'SubTypeBoostResist' => 'SubTypeBoostResist', 'SubTypeExtendDuration' => 'SubTypeExtendDuration', 'Summon' => 'Summon', 'SummonBindingGroupGate' => 'SummonBindingGroupGate', 'SummonGroupGate' => 'SummonGroupGate', 'SummonHoming' => 'SummonHoming', 'SummonServant' => 'SummonServant', 'SummonSkillArea' => 'SummonSkillArea', 'SummonTrap' => 'SummonTrap', 'SwitchHPMP_Instant' => 'SwitchHPMP_Instant', 'SwitchHostile' => 'SwitchHostile', 'WeaponStatBoost' => 'WeaponStatBoost', 'WeaponStatUp' => 'WeaponStatUp', 'Wpn_Dual' => 'Wpn_Dual', 'Wpn_Mastery' => 'Wpn_Mastery', 'XPBoost' => 'XPBoost', 'deform' => 'deform', 'nofly' => 'nofly'))),
      'effect2_reserved2'  => new sfWidgetFormFilterInput(),
      'effect2_reserved13' => new sfWidgetFormFilterInput(),
      'effect3_type'       => new sfWidgetFormChoice(array('choices' => array('' => '', 'Activate_Enslave' => 'Activate_Enslave', 'AlwaysBlock' => 'AlwaysBlock', 'AlwaysDodge' => 'AlwaysDodge', 'AlwaysParry' => 'AlwaysParry', 'AlwaysResist' => 'AlwaysResist', 'Amr_Mastery' => 'Amr_Mastery', 'Aura' => 'Aura', 'BackDashATK' => 'BackDashATK', 'Bind' => 'Bind', 'Bleed' => 'Bleed', 'Blind' => 'Blind', 'BoostDropRate' => 'BoostDropRate', 'BoostHate' => 'BoostHate', 'BoostHealEffect' => 'BoostHealEffect', 'BoostSkillCastingTime' => 'BoostSkillCastingTime', 'BoostSkillCost' => 'BoostSkillCost', 'BoostSpellAttackEffect' => 'BoostSpellAttackEffect', 'Cannon' => 'Cannon', 'CarveSignet' => 'CarveSignet', 'ChangeHateOnAttacked' => 'ChangeHateOnAttacked', 'CloseAerial' => 'CloseAerial', 'CondSkillLauncher' => 'CondSkillLauncher', 'Confuse' => 'Confuse', 'ConvertHeal' => 'ConvertHeal', 'Curse' => 'Curse', 'DPHeal' => 'DPHeal', 'DPHeal_Instant' => 'DPHeal_Instant', 'DPTransfer' => 'DPTransfer', 'DashATK' => 'DashATK', 'DeBoostHealAmount' => 'DeBoostHealAmount', 'DeathBlow' => 'DeathBlow', 'DeboostHealAmount' => 'DeboostHealAmount', 'Deform' => 'Deform', 'DelayedFPATK_Instant' => 'DelayedFPATK_Instant', 'DelayedSpellATK_Instant' => 'DelayedSpellATK_Instant', 'Disease' => 'Disease', 'Dispel' => 'Dispel', 'DispelBuff' => 'DispelBuff', 'DispelBuffCounterATK' => 'DispelBuffCounterATK', 'DispelDeBuff' => 'DispelDeBuff', 'DispelDebuff' => 'DispelDebuff', 'DispelDebuffMental' => 'DispelDebuffMental', 'DispelDebuffPhysical' => 'DispelDebuffPhysical', 'DispelNPCDebuff' => 'DispelNPCDebuff', 'DispelNpcBuff' => 'DispelNpcBuff', 'Dummy' => 'Dummy', 'ExtendAuraRange' => 'ExtendAuraRange', 'FPATK' => 'FPATK', 'FPATK_Instant' => 'FPATK_Instant', 'FPHeal' => 'FPHeal', 'FPHeal_Instant' => 'FPHeal_Instant', 'Fall' => 'Fall', 'Fear' => 'Fear', 'FpHeal' => 'FpHeal', 'Heal' => 'Heal', 'HealCastorOnAttacked' => 'HealCastorOnAttacked', 'HealCastorOnTargetDead' => 'HealCastorOnTargetDead', 'Heal_Instant' => 'Heal_Instant', 'Hide' => 'Hide', 'HostileUp' => 'HostileUp', 'InvulnerableWing' => 'InvulnerableWing', 'MPAttack' => 'MPAttack', 'MPAttack_Instant' => 'MPAttack_Instant', 'MPHeal' => 'MPHeal', 'MPHeal_Instant' => 'MPHeal_Instant', 'MagicCounterATK' => 'MagicCounterATK', 'MoveBehindATK' => 'MoveBehindATK', 'NoFly' => 'NoFly', 'OneTimeBoostSkillAttack' => 'OneTimeBoostSkillAttack', 'OneTimeBoostSkillCritical' => 'OneTimeBoostSkillCritical', 'OpenAerial' => 'OpenAerial', 'Paralyze' => 'Paralyze', 'PetOrderUseUltraSkill' => 'PetOrderUseUltraSkill', 'Petrification' => 'Petrification', 'Poison' => 'Poison', 'Polymorph' => 'Polymorph', 'ProcATK_Instant' => 'ProcATK_Instant', 'ProcDPHeal_Instant' => 'ProcDPHeal_Instant', 'ProcFpHeal_Instant' => 'ProcFpHeal_Instant', 'ProcHeal_Instant' => 'ProcHeal_Instant', 'ProcMPHeal_Instant' => 'ProcMPHeal_Instant', 'Protect' => 'Protect', 'Provoker' => 'Provoker', 'Pulled' => 'Pulled', 'RandomMoveLoc' => 'RandomMoveLoc', 'Rebirth' => 'Rebirth', 'Recall_Instant' => 'Recall_Instant', 'Reflector' => 'Reflector', 'Resurrect' => 'Resurrect', 'ResurrectBase' => 'ResurrectBase', 'ResurrectPositional' => 'ResurrectPositional', 'ReturnHome' => 'ReturnHome', 'ReturnPoint' => 'ReturnPoint', 'Root' => 'Root', 'Sanctuary' => 'Sanctuary', 'Search' => 'Search', 'ShapeChange' => 'ShapeChange', 'Shield' => 'Shield', 'ShieldMastery' => 'ShieldMastery', 'Signet' => 'Signet', 'SignetBurst' => 'SignetBurst', 'Silence' => 'Silence', 'Simple_Root' => 'Simple_Root', 'SkillATKDrain_Instant' => 'SkillATKDrain_Instant', 'SkillATK_Instant' => 'SkillATK_Instant', 'SkillLauncher' => 'SkillLauncher', 'Sleep' => 'Sleep', 'Slow' => 'Slow', 'Snare' => 'Snare', 'SpellATK' => 'SpellATK', 'SpellATKDrain' => 'SpellATKDrain', 'SpellATKDrain_Instant' => 'SpellATKDrain_Instant', 'SpellATK_Instant' => 'SpellATK_Instant', 'Spin' => 'Spin', 'Stagger' => 'Stagger', 'StatBoost' => 'StatBoost', 'StatDown' => 'StatDown', 'StatUp' => 'StatUp', 'Stumble' => 'Stumble', 'Stun' => 'Stun', 'SubTypeBoostResist' => 'SubTypeBoostResist', 'SubTypeExtendDuration' => 'SubTypeExtendDuration', 'Summon' => 'Summon', 'SummonBindingGroupGate' => 'SummonBindingGroupGate', 'SummonGroupGate' => 'SummonGroupGate', 'SummonHoming' => 'SummonHoming', 'SummonServant' => 'SummonServant', 'SummonSkillArea' => 'SummonSkillArea', 'SummonTrap' => 'SummonTrap', 'SwitchHPMP_Instant' => 'SwitchHPMP_Instant', 'SwitchHostile' => 'SwitchHostile', 'WeaponStatBoost' => 'WeaponStatBoost', 'WeaponStatUp' => 'WeaponStatUp', 'Wpn_Dual' => 'Wpn_Dual', 'Wpn_Mastery' => 'Wpn_Mastery', 'XPBoost' => 'XPBoost', 'deform' => 'deform', 'nofly' => 'nofly'))),
      'effect3_reserved2'  => new sfWidgetFormFilterInput(),
      'effect3_reserved13' => new sfWidgetFormFilterInput(),
      'effect2_reserved1'  => new sfWidgetFormFilterInput(),
      'effect1_reserved11' => new sfWidgetFormFilterInput(),
      'effect2_basiclv'    => new sfWidgetFormFilterInput(),
      'effect1_reserved12' => new sfWidgetFormFilterInput(),
      'effect1_remain1'    => new sfWidgetFormFilterInput(),
      'effect1_remain2'    => new sfWidgetFormFilterInput(),
      'effect2_reserved3'  => new sfWidgetFormFilterInput(),
      'effect2_reserved4'  => new sfWidgetFormFilterInput(),
      'effect3_basiclv'    => new sfWidgetFormFilterInput(),
      'effect2_reserved9'  => new sfWidgetFormFilterInput(),
      'effect3_reserved3'  => new sfWidgetFormFilterInput(),
      'effect3_reserved4'  => new sfWidgetFormFilterInput(),
      'effect3_reserved9'  => new sfWidgetFormFilterInput(),
    ));

    $this->setValidators(array(
      'name'               => new sfValidatorPass(array('required' => false)),
      'type'               => new sfValidatorChoice(array('required' => false, 'choices' => array('Magical' => 'Magical', 'Physical' => 'Physical'))),
      'skillicon_name'     => new sfValidatorPass(array('required' => false)),
      'effect1_type'       => new sfValidatorChoice(array('required' => false, 'choices' => array('Activate_Enslave' => 'Activate_Enslave', 'AlwaysBlock' => 'AlwaysBlock', 'AlwaysDodge' => 'AlwaysDodge', 'AlwaysParry' => 'AlwaysParry', 'AlwaysResist' => 'AlwaysResist', 'Amr_Mastery' => 'Amr_Mastery', 'Aura' => 'Aura', 'BackDashATK' => 'BackDashATK', 'Bind' => 'Bind', 'Bleed' => 'Bleed', 'Blind' => 'Blind', 'BoostDropRate' => 'BoostDropRate', 'BoostHate' => 'BoostHate', 'BoostHealEffect' => 'BoostHealEffect', 'BoostSkillCastingTime' => 'BoostSkillCastingTime', 'BoostSkillCost' => 'BoostSkillCost', 'BoostSpellAttackEffect' => 'BoostSpellAttackEffect', 'Cannon' => 'Cannon', 'CarveSignet' => 'CarveSignet', 'ChangeHateOnAttacked' => 'ChangeHateOnAttacked', 'CloseAerial' => 'CloseAerial', 'CondSkillLauncher' => 'CondSkillLauncher', 'Confuse' => 'Confuse', 'ConvertHeal' => 'ConvertHeal', 'Curse' => 'Curse', 'DPHeal' => 'DPHeal', 'DPHeal_Instant' => 'DPHeal_Instant', 'DPTransfer' => 'DPTransfer', 'DashATK' => 'DashATK', 'DeBoostHealAmount' => 'DeBoostHealAmount', 'DeathBlow' => 'DeathBlow', 'DeboostHealAmount' => 'DeboostHealAmount', 'Deform' => 'Deform', 'DelayedFPATK_Instant' => 'DelayedFPATK_Instant', 'DelayedSpellATK_Instant' => 'DelayedSpellATK_Instant', 'Disease' => 'Disease', 'Dispel' => 'Dispel', 'DispelBuff' => 'DispelBuff', 'DispelBuffCounterATK' => 'DispelBuffCounterATK', 'DispelDeBuff' => 'DispelDeBuff', 'DispelDebuff' => 'DispelDebuff', 'DispelDebuffMental' => 'DispelDebuffMental', 'DispelDebuffPhysical' => 'DispelDebuffPhysical', 'DispelNPCDebuff' => 'DispelNPCDebuff', 'DispelNpcBuff' => 'DispelNpcBuff', 'Dummy' => 'Dummy', 'ExtendAuraRange' => 'ExtendAuraRange', 'FPATK' => 'FPATK', 'FPATK_Instant' => 'FPATK_Instant', 'FPHeal' => 'FPHeal', 'FPHeal_Instant' => 'FPHeal_Instant', 'Fall' => 'Fall', 'Fear' => 'Fear', 'FpHeal' => 'FpHeal', 'Heal' => 'Heal', 'HealCastorOnAttacked' => 'HealCastorOnAttacked', 'HealCastorOnTargetDead' => 'HealCastorOnTargetDead', 'Heal_Instant' => 'Heal_Instant', 'Hide' => 'Hide', 'HostileUp' => 'HostileUp', 'InvulnerableWing' => 'InvulnerableWing', 'MPAttack' => 'MPAttack', 'MPAttack_Instant' => 'MPAttack_Instant', 'MPHeal' => 'MPHeal', 'MPHeal_Instant' => 'MPHeal_Instant', 'MagicCounterATK' => 'MagicCounterATK', 'MoveBehindATK' => 'MoveBehindATK', 'NoFly' => 'NoFly', 'OneTimeBoostSkillAttack' => 'OneTimeBoostSkillAttack', 'OneTimeBoostSkillCritical' => 'OneTimeBoostSkillCritical', 'OpenAerial' => 'OpenAerial', 'Paralyze' => 'Paralyze', 'PetOrderUseUltraSkill' => 'PetOrderUseUltraSkill', 'Petrification' => 'Petrification', 'Poison' => 'Poison', 'Polymorph' => 'Polymorph', 'ProcATK_Instant' => 'ProcATK_Instant', 'ProcDPHeal_Instant' => 'ProcDPHeal_Instant', 'ProcFpHeal_Instant' => 'ProcFpHeal_Instant', 'ProcHeal_Instant' => 'ProcHeal_Instant', 'ProcMPHeal_Instant' => 'ProcMPHeal_Instant', 'Protect' => 'Protect', 'Provoker' => 'Provoker', 'Pulled' => 'Pulled', 'RandomMoveLoc' => 'RandomMoveLoc', 'Rebirth' => 'Rebirth', 'Recall_Instant' => 'Recall_Instant', 'Reflector' => 'Reflector', 'Resurrect' => 'Resurrect', 'ResurrectBase' => 'ResurrectBase', 'ResurrectPositional' => 'ResurrectPositional', 'ReturnHome' => 'ReturnHome', 'ReturnPoint' => 'ReturnPoint', 'Root' => 'Root', 'Sanctuary' => 'Sanctuary', 'Search' => 'Search', 'ShapeChange' => 'ShapeChange', 'Shield' => 'Shield', 'ShieldMastery' => 'ShieldMastery', 'Signet' => 'Signet', 'SignetBurst' => 'SignetBurst', 'Silence' => 'Silence', 'Simple_Root' => 'Simple_Root', 'SkillATKDrain_Instant' => 'SkillATKDrain_Instant', 'SkillATK_Instant' => 'SkillATK_Instant', 'SkillLauncher' => 'SkillLauncher', 'Sleep' => 'Sleep', 'Slow' => 'Slow', 'Snare' => 'Snare', 'SpellATK' => 'SpellATK', 'SpellATKDrain' => 'SpellATKDrain', 'SpellATKDrain_Instant' => 'SpellATKDrain_Instant', 'SpellATK_Instant' => 'SpellATK_Instant', 'Spin' => 'Spin', 'Stagger' => 'Stagger', 'StatBoost' => 'StatBoost', 'StatDown' => 'StatDown', 'StatUp' => 'StatUp', 'Stumble' => 'Stumble', 'Stun' => 'Stun', 'SubTypeBoostResist' => 'SubTypeBoostResist', 'SubTypeExtendDuration' => 'SubTypeExtendDuration', 'Summon' => 'Summon', 'SummonBindingGroupGate' => 'SummonBindingGroupGate', 'SummonGroupGate' => 'SummonGroupGate', 'SummonHoming' => 'SummonHoming', 'SummonServant' => 'SummonServant', 'SummonSkillArea' => 'SummonSkillArea', 'SummonTrap' => 'SummonTrap', 'SwitchHPMP_Instant' => 'SwitchHPMP_Instant', 'SwitchHostile' => 'SwitchHostile', 'WeaponStatBoost' => 'WeaponStatBoost', 'WeaponStatUp' => 'WeaponStatUp', 'Wpn_Dual' => 'Wpn_Dual', 'Wpn_Mastery' => 'Wpn_Mastery', 'XPBoost' => 'XPBoost', 'deform' => 'deform', 'nofly' => 'nofly'))),
      'effect1_basiclv'    => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect1_reserved1'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved2'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved3'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved4'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved5'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved6'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved7'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved8'  => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect1_reserved9'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved13' => new sfValidatorPass(array('required' => false)),
      'effect1_reserved10' => new sfValidatorPass(array('required' => false)),
      'effect2_type'       => new sfValidatorChoice(array('required' => false, 'choices' => array('Activate_Enslave' => 'Activate_Enslave', 'AlwaysBlock' => 'AlwaysBlock', 'AlwaysDodge' => 'AlwaysDodge', 'AlwaysParry' => 'AlwaysParry', 'AlwaysResist' => 'AlwaysResist', 'Amr_Mastery' => 'Amr_Mastery', 'Aura' => 'Aura', 'BackDashATK' => 'BackDashATK', 'Bind' => 'Bind', 'Bleed' => 'Bleed', 'Blind' => 'Blind', 'BoostDropRate' => 'BoostDropRate', 'BoostHate' => 'BoostHate', 'BoostHealEffect' => 'BoostHealEffect', 'BoostSkillCastingTime' => 'BoostSkillCastingTime', 'BoostSkillCost' => 'BoostSkillCost', 'BoostSpellAttackEffect' => 'BoostSpellAttackEffect', 'Cannon' => 'Cannon', 'CarveSignet' => 'CarveSignet', 'ChangeHateOnAttacked' => 'ChangeHateOnAttacked', 'CloseAerial' => 'CloseAerial', 'CondSkillLauncher' => 'CondSkillLauncher', 'Confuse' => 'Confuse', 'ConvertHeal' => 'ConvertHeal', 'Curse' => 'Curse', 'DPHeal' => 'DPHeal', 'DPHeal_Instant' => 'DPHeal_Instant', 'DPTransfer' => 'DPTransfer', 'DashATK' => 'DashATK', 'DeBoostHealAmount' => 'DeBoostHealAmount', 'DeathBlow' => 'DeathBlow', 'DeboostHealAmount' => 'DeboostHealAmount', 'Deform' => 'Deform', 'DelayedFPATK_Instant' => 'DelayedFPATK_Instant', 'DelayedSpellATK_Instant' => 'DelayedSpellATK_Instant', 'Disease' => 'Disease', 'Dispel' => 'Dispel', 'DispelBuff' => 'DispelBuff', 'DispelBuffCounterATK' => 'DispelBuffCounterATK', 'DispelDeBuff' => 'DispelDeBuff', 'DispelDebuff' => 'DispelDebuff', 'DispelDebuffMental' => 'DispelDebuffMental', 'DispelDebuffPhysical' => 'DispelDebuffPhysical', 'DispelNPCDebuff' => 'DispelNPCDebuff', 'DispelNpcBuff' => 'DispelNpcBuff', 'Dummy' => 'Dummy', 'ExtendAuraRange' => 'ExtendAuraRange', 'FPATK' => 'FPATK', 'FPATK_Instant' => 'FPATK_Instant', 'FPHeal' => 'FPHeal', 'FPHeal_Instant' => 'FPHeal_Instant', 'Fall' => 'Fall', 'Fear' => 'Fear', 'FpHeal' => 'FpHeal', 'Heal' => 'Heal', 'HealCastorOnAttacked' => 'HealCastorOnAttacked', 'HealCastorOnTargetDead' => 'HealCastorOnTargetDead', 'Heal_Instant' => 'Heal_Instant', 'Hide' => 'Hide', 'HostileUp' => 'HostileUp', 'InvulnerableWing' => 'InvulnerableWing', 'MPAttack' => 'MPAttack', 'MPAttack_Instant' => 'MPAttack_Instant', 'MPHeal' => 'MPHeal', 'MPHeal_Instant' => 'MPHeal_Instant', 'MagicCounterATK' => 'MagicCounterATK', 'MoveBehindATK' => 'MoveBehindATK', 'NoFly' => 'NoFly', 'OneTimeBoostSkillAttack' => 'OneTimeBoostSkillAttack', 'OneTimeBoostSkillCritical' => 'OneTimeBoostSkillCritical', 'OpenAerial' => 'OpenAerial', 'Paralyze' => 'Paralyze', 'PetOrderUseUltraSkill' => 'PetOrderUseUltraSkill', 'Petrification' => 'Petrification', 'Poison' => 'Poison', 'Polymorph' => 'Polymorph', 'ProcATK_Instant' => 'ProcATK_Instant', 'ProcDPHeal_Instant' => 'ProcDPHeal_Instant', 'ProcFpHeal_Instant' => 'ProcFpHeal_Instant', 'ProcHeal_Instant' => 'ProcHeal_Instant', 'ProcMPHeal_Instant' => 'ProcMPHeal_Instant', 'Protect' => 'Protect', 'Provoker' => 'Provoker', 'Pulled' => 'Pulled', 'RandomMoveLoc' => 'RandomMoveLoc', 'Rebirth' => 'Rebirth', 'Recall_Instant' => 'Recall_Instant', 'Reflector' => 'Reflector', 'Resurrect' => 'Resurrect', 'ResurrectBase' => 'ResurrectBase', 'ResurrectPositional' => 'ResurrectPositional', 'ReturnHome' => 'ReturnHome', 'ReturnPoint' => 'ReturnPoint', 'Root' => 'Root', 'Sanctuary' => 'Sanctuary', 'Search' => 'Search', 'ShapeChange' => 'ShapeChange', 'Shield' => 'Shield', 'ShieldMastery' => 'ShieldMastery', 'Signet' => 'Signet', 'SignetBurst' => 'SignetBurst', 'Silence' => 'Silence', 'Simple_Root' => 'Simple_Root', 'SkillATKDrain_Instant' => 'SkillATKDrain_Instant', 'SkillATK_Instant' => 'SkillATK_Instant', 'SkillLauncher' => 'SkillLauncher', 'Sleep' => 'Sleep', 'Slow' => 'Slow', 'Snare' => 'Snare', 'SpellATK' => 'SpellATK', 'SpellATKDrain' => 'SpellATKDrain', 'SpellATKDrain_Instant' => 'SpellATKDrain_Instant', 'SpellATK_Instant' => 'SpellATK_Instant', 'Spin' => 'Spin', 'Stagger' => 'Stagger', 'StatBoost' => 'StatBoost', 'StatDown' => 'StatDown', 'StatUp' => 'StatUp', 'Stumble' => 'Stumble', 'Stun' => 'Stun', 'SubTypeBoostResist' => 'SubTypeBoostResist', 'SubTypeExtendDuration' => 'SubTypeExtendDuration', 'Summon' => 'Summon', 'SummonBindingGroupGate' => 'SummonBindingGroupGate', 'SummonGroupGate' => 'SummonGroupGate', 'SummonHoming' => 'SummonHoming', 'SummonServant' => 'SummonServant', 'SummonSkillArea' => 'SummonSkillArea', 'SummonTrap' => 'SummonTrap', 'SwitchHPMP_Instant' => 'SwitchHPMP_Instant', 'SwitchHostile' => 'SwitchHostile', 'WeaponStatBoost' => 'WeaponStatBoost', 'WeaponStatUp' => 'WeaponStatUp', 'Wpn_Dual' => 'Wpn_Dual', 'Wpn_Mastery' => 'Wpn_Mastery', 'XPBoost' => 'XPBoost', 'deform' => 'deform', 'nofly' => 'nofly'))),
      'effect2_reserved2'  => new sfValidatorPass(array('required' => false)),
      'effect2_reserved13' => new sfValidatorPass(array('required' => false)),
      'effect3_type'       => new sfValidatorChoice(array('required' => false, 'choices' => array('Activate_Enslave' => 'Activate_Enslave', 'AlwaysBlock' => 'AlwaysBlock', 'AlwaysDodge' => 'AlwaysDodge', 'AlwaysParry' => 'AlwaysParry', 'AlwaysResist' => 'AlwaysResist', 'Amr_Mastery' => 'Amr_Mastery', 'Aura' => 'Aura', 'BackDashATK' => 'BackDashATK', 'Bind' => 'Bind', 'Bleed' => 'Bleed', 'Blind' => 'Blind', 'BoostDropRate' => 'BoostDropRate', 'BoostHate' => 'BoostHate', 'BoostHealEffect' => 'BoostHealEffect', 'BoostSkillCastingTime' => 'BoostSkillCastingTime', 'BoostSkillCost' => 'BoostSkillCost', 'BoostSpellAttackEffect' => 'BoostSpellAttackEffect', 'Cannon' => 'Cannon', 'CarveSignet' => 'CarveSignet', 'ChangeHateOnAttacked' => 'ChangeHateOnAttacked', 'CloseAerial' => 'CloseAerial', 'CondSkillLauncher' => 'CondSkillLauncher', 'Confuse' => 'Confuse', 'ConvertHeal' => 'ConvertHeal', 'Curse' => 'Curse', 'DPHeal' => 'DPHeal', 'DPHeal_Instant' => 'DPHeal_Instant', 'DPTransfer' => 'DPTransfer', 'DashATK' => 'DashATK', 'DeBoostHealAmount' => 'DeBoostHealAmount', 'DeathBlow' => 'DeathBlow', 'DeboostHealAmount' => 'DeboostHealAmount', 'Deform' => 'Deform', 'DelayedFPATK_Instant' => 'DelayedFPATK_Instant', 'DelayedSpellATK_Instant' => 'DelayedSpellATK_Instant', 'Disease' => 'Disease', 'Dispel' => 'Dispel', 'DispelBuff' => 'DispelBuff', 'DispelBuffCounterATK' => 'DispelBuffCounterATK', 'DispelDeBuff' => 'DispelDeBuff', 'DispelDebuff' => 'DispelDebuff', 'DispelDebuffMental' => 'DispelDebuffMental', 'DispelDebuffPhysical' => 'DispelDebuffPhysical', 'DispelNPCDebuff' => 'DispelNPCDebuff', 'DispelNpcBuff' => 'DispelNpcBuff', 'Dummy' => 'Dummy', 'ExtendAuraRange' => 'ExtendAuraRange', 'FPATK' => 'FPATK', 'FPATK_Instant' => 'FPATK_Instant', 'FPHeal' => 'FPHeal', 'FPHeal_Instant' => 'FPHeal_Instant', 'Fall' => 'Fall', 'Fear' => 'Fear', 'FpHeal' => 'FpHeal', 'Heal' => 'Heal', 'HealCastorOnAttacked' => 'HealCastorOnAttacked', 'HealCastorOnTargetDead' => 'HealCastorOnTargetDead', 'Heal_Instant' => 'Heal_Instant', 'Hide' => 'Hide', 'HostileUp' => 'HostileUp', 'InvulnerableWing' => 'InvulnerableWing', 'MPAttack' => 'MPAttack', 'MPAttack_Instant' => 'MPAttack_Instant', 'MPHeal' => 'MPHeal', 'MPHeal_Instant' => 'MPHeal_Instant', 'MagicCounterATK' => 'MagicCounterATK', 'MoveBehindATK' => 'MoveBehindATK', 'NoFly' => 'NoFly', 'OneTimeBoostSkillAttack' => 'OneTimeBoostSkillAttack', 'OneTimeBoostSkillCritical' => 'OneTimeBoostSkillCritical', 'OpenAerial' => 'OpenAerial', 'Paralyze' => 'Paralyze', 'PetOrderUseUltraSkill' => 'PetOrderUseUltraSkill', 'Petrification' => 'Petrification', 'Poison' => 'Poison', 'Polymorph' => 'Polymorph', 'ProcATK_Instant' => 'ProcATK_Instant', 'ProcDPHeal_Instant' => 'ProcDPHeal_Instant', 'ProcFpHeal_Instant' => 'ProcFpHeal_Instant', 'ProcHeal_Instant' => 'ProcHeal_Instant', 'ProcMPHeal_Instant' => 'ProcMPHeal_Instant', 'Protect' => 'Protect', 'Provoker' => 'Provoker', 'Pulled' => 'Pulled', 'RandomMoveLoc' => 'RandomMoveLoc', 'Rebirth' => 'Rebirth', 'Recall_Instant' => 'Recall_Instant', 'Reflector' => 'Reflector', 'Resurrect' => 'Resurrect', 'ResurrectBase' => 'ResurrectBase', 'ResurrectPositional' => 'ResurrectPositional', 'ReturnHome' => 'ReturnHome', 'ReturnPoint' => 'ReturnPoint', 'Root' => 'Root', 'Sanctuary' => 'Sanctuary', 'Search' => 'Search', 'ShapeChange' => 'ShapeChange', 'Shield' => 'Shield', 'ShieldMastery' => 'ShieldMastery', 'Signet' => 'Signet', 'SignetBurst' => 'SignetBurst', 'Silence' => 'Silence', 'Simple_Root' => 'Simple_Root', 'SkillATKDrain_Instant' => 'SkillATKDrain_Instant', 'SkillATK_Instant' => 'SkillATK_Instant', 'SkillLauncher' => 'SkillLauncher', 'Sleep' => 'Sleep', 'Slow' => 'Slow', 'Snare' => 'Snare', 'SpellATK' => 'SpellATK', 'SpellATKDrain' => 'SpellATKDrain', 'SpellATKDrain_Instant' => 'SpellATKDrain_Instant', 'SpellATK_Instant' => 'SpellATK_Instant', 'Spin' => 'Spin', 'Stagger' => 'Stagger', 'StatBoost' => 'StatBoost', 'StatDown' => 'StatDown', 'StatUp' => 'StatUp', 'Stumble' => 'Stumble', 'Stun' => 'Stun', 'SubTypeBoostResist' => 'SubTypeBoostResist', 'SubTypeExtendDuration' => 'SubTypeExtendDuration', 'Summon' => 'Summon', 'SummonBindingGroupGate' => 'SummonBindingGroupGate', 'SummonGroupGate' => 'SummonGroupGate', 'SummonHoming' => 'SummonHoming', 'SummonServant' => 'SummonServant', 'SummonSkillArea' => 'SummonSkillArea', 'SummonTrap' => 'SummonTrap', 'SwitchHPMP_Instant' => 'SwitchHPMP_Instant', 'SwitchHostile' => 'SwitchHostile', 'WeaponStatBoost' => 'WeaponStatBoost', 'WeaponStatUp' => 'WeaponStatUp', 'Wpn_Dual' => 'Wpn_Dual', 'Wpn_Mastery' => 'Wpn_Mastery', 'XPBoost' => 'XPBoost', 'deform' => 'deform', 'nofly' => 'nofly'))),
      'effect3_reserved2'  => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect3_reserved13' => new sfValidatorPass(array('required' => false)),
      'effect2_reserved1'  => new sfValidatorPass(array('required' => false)),
      'effect1_reserved11' => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect2_basiclv'    => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect1_reserved12' => new sfValidatorPass(array('required' => false)),
      'effect1_remain1'    => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect1_remain2'    => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect2_reserved3'  => new sfValidatorPass(array('required' => false)),
      'effect2_reserved4'  => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect3_basiclv'    => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect2_reserved9'  => new sfValidatorPass(array('required' => false)),
      'effect3_reserved3'  => new sfValidatorPass(array('required' => false)),
      'effect3_reserved4'  => new sfValidatorSchemaFilter('text', new sfValidatorInteger(array('required' => false))),
      'effect3_reserved9'  => new sfValidatorPass(array('required' => false)),
    ));

    $this->widgetSchema->setNameFormat('game_passive_skill_filters[%s]');

    $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);

    $this->setupInheritance();

    parent::setup();
  }

  public function getModelName()
  {
    return 'GamePassiveSkill';
  }

  public function getFields()
  {
    return array(
      'id'                 => 'Number',
      'name'               => 'Text',
      'type'               => 'Enum',
      'skillicon_name'     => 'Text',
      'effect1_type'       => 'Enum',
      'effect1_basiclv'    => 'Number',
      'effect1_reserved1'  => 'Text',
      'effect1_reserved2'  => 'Text',
      'effect1_reserved3'  => 'Text',
      'effect1_reserved4'  => 'Text',
      'effect1_reserved5'  => 'Text',
      'effect1_reserved6'  => 'Text',
      'effect1_reserved7'  => 'Text',
      'effect1_reserved8'  => 'Number',
      'effect1_reserved9'  => 'Text',
      'effect1_reserved13' => 'Text',
      'effect1_reserved10' => 'Text',
      'effect2_type'       => 'Enum',
      'effect2_reserved2'  => 'Text',
      'effect2_reserved13' => 'Text',
      'effect3_type'       => 'Enum',
      'effect3_reserved2'  => 'Number',
      'effect3_reserved13' => 'Text',
      'effect2_reserved1'  => 'Text',
      'effect1_reserved11' => 'Number',
      'effect2_basiclv'    => 'Number',
      'effect1_reserved12' => 'Text',
      'effect1_remain1'    => 'Number',
      'effect1_remain2'    => 'Number',
      'effect2_reserved3'  => 'Text',
      'effect2_reserved4'  => 'Number',
      'effect3_basiclv'    => 'Number',
      'effect2_reserved9'  => 'Text',
      'effect3_reserved3'  => 'Text',
      'effect3_reserved4'  => 'Number',
      'effect3_reserved9'  => 'Text',
    );
  }
}
